home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tech Arsenal 1
/
Tech Arsenal (Arsenal Computer).ISO
/
tek-06
/
batutl.zip
/
NWUTIL.TXT
< prev
next >
Wrap
Text File
|
1992-07-13
|
3KB
|
102 lines
NWUTIL.ZIP contains the following files:
IFMEMBER EXE 9328 7-25-91 11:55a
UIG EXE 9376 7-25-91 11:54a
GETVOLS EXE 8400 7-09-91 6:54p
MAILDIR EXE 5696 7-02-91 4:54p
GRPLIST EXE 5744 7-02-91 3:34p
LISTGRP EXE 12304 7-02-91 3:25p
GETID EXE 7872 7-02-91 2:56p
WHOIS EXE 7536 7-02-91 2:53p
GETNAME EXE 7088 7-02-91 2:52p
KADERC EXE 7088 6-12-91 5:36p
VERIFSRV EXE 5568 6-07-91 11:17a
VERIFQUE EXE 5296 4-16-91 6:54p
VERIFDIR EXE 4880 1-22-91 11:46a
Utilities
---------
The following command line utilities are written in Pascal and are additions to
the Novell full screen utilities. They can be used for 1) administration: LISTGRP,
GRPLIST, GETVOLS 2) batch files: VERIFDIR, VERIFSRV, VERIFQUE, IFMEMBER ,
KADERC or 3) day to day use: WHOIS, GETID, GETNAME, MAILDIR, UIG.
1. Network Administration utilities
-----------------------------------
LISTGRP Usage: LISTGRP GroupName
displays a sorted list of all userids and their full names
in group GroupName
GroupName=ALL displays all users groupwise and sorted on
Group and Userid
GRPLIST Lists all groups sorted
GETVOLS Returns the disk and slot usage of all volumes both numerical as
'graphical' requiring ANSI.SYS
2. Batch file utilities
-----------------------
KADERC Usage: KADERC param1 [param2] [param3] [param4]
where param1 is the file to be displayed
max line length=75
param2-param4 ANSI color sequence -with exception of
the escape character-
param2= text color
param3= frame color
param4= header color -first line-
produces a centered box showing the text from file param1
VERIFDIR Usage: VERIFDIR [d:][path]
Returns errorlevel 0 if the
directory exists or 3 if
it does not exist
VERIFSRV Usage: VERIFSRV [server name]
Returns errorlevel 0 if the
server is attached or 1 if
it is not attached
VERIFQUE Usage: VERIFQUE QueueName
Returns errorlevel 0 if the
queue exists on the current server
1 if not existing
IFMEMBER Usage: IFMEMBER UserName GroupName
Returns errorlevel 1 if UserName
is member of GroupName, otherwise 0
3. Utilities for general use:
-----------------------------
WHOIS Usage: WHOIS userid
displays fullname and objectID (hexadecimal and decimal) of userid
GETID Usage: GETID ObjectName
returns the ObjectId (hex and decimal) and type of ObjectName
type
1 User
2 User Group
3 Print Queue
4 File Server
5 Job Server
6 Gateway
7 Print Server
8 Archive Queue
GETNAME Usage: GETNAME ObjectId
where Object = 8 digit ObjectId
returns the Name of ObjectId and its type (see above)
UIG Usage: UIG username
returns a list of groups a user is in
MAILDIR Usage: MailDir UserName
changes the directory on the CURRENT drive to \mail\UserId
on the current drive where: success EL=0, error EL=4
UserId corresponds with the UserName passed in %1